package com.woniuxy.ticket_cinema.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@TableName("ticket_schedule")
public class Schedule implements Serializable {

    private static final long serialVersionUID = 4941628271527159267L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //电影id
    private Integer filmId;
    //影厅id
    private Integer hallId;
    //开始时间
    private LocalDateTime starttime;
    //结束时间
    private LocalDateTime endtime;
    //票价
    private BigDecimal price;
    //状态
    private String status;
}
